<script setup lang="ts">
import { onHide, onLaunch, onShow } from "@dcloudio/uni-app";
import { usePageAuth } from "@/hooks/usePageAuth";

usePageAuth();

onLaunch(() => {
	console.log("App Launch");
});
onShow(() => {
	console.log("App Show");
});
onHide(() => {
	console.log("App Hide");
});
</script>

<style lang="scss">
// uview的样式
@import "uview-plus/index.scss";

swiper,
scroll-view {
	flex: 1;
	height: 100%;
	overflow: hidden;
}

image {
	width: 100%;
	height: 100%;
	vertical-align: middle;
}
.example-info {
	font-size: 14px;
	color: #333;
	padding: 10px;
}
.DIN {
	font-family: DIN;
}
.DIN-M {
	font-family: DINPro;
}
.flex {
	@include flex;
	align-items: center;
}
.flex_bw {
	@include flex;
	align-items: center;
	justify-content: space-between;
}
.flex_center {
	@include flex;
	align-items: center;
	justify-content: center;
}

.no_more {
	font-size: 24rpx;
	color: #999999;
	text-align: center;
	padding: 24rpx 0;
}
.hidden {
	display: none !important;
}
</style>
